package com.idp.web.test.dao;

import com.idp.web.test.entity.DetailList;

import java.util.List;
import java.util.Map;

import com.idp.common.base.BaseDao;
import com.idp.common.persistence.Page;

/**
 * 
 * 出入库明细dao接口.
 * 
 * <pre>
 * 	历史记录：
 * 	2017-06-06 Amber
 * 	新建文件
 * </pre>
 * 
 * @author
 * 
 *         <pre>
 * SD
 * 	Amber
 * PG
 *	Amber
 * UT
 *
 * MA
 *         </pre>
 * 
 * @version $Rev$
 *
 *          <p/>
 *          $Id$
 *
 */
public interface DetailListDao extends BaseDao<DetailList, Integer> {

	List<DetailList> findByTypeId(Integer id, Page<DetailList> page);

	List<DetailList> findByWarehouseAndProductName(Map<String, Object> map, Page<DetailList> page);
	
	List<DetailList> findByWarehouseAndProductName(Map<String, Object> map);

}